package com.ruoyi.system.domain;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import com.ruoyi.common.core.domain.BaseEntity;

/**
 * 医保局财务处账户信息对象 finance_depart_info
 * 
 * @author ruoyi
 * @date 2025-04-13
 */
@ApiModel(value = "FinanceDepartInfo", description = "医保局财务处账户信息对象")
public class FinanceDepartInfo extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** $column.columnComment */
    private Long id;

    /** 医保编号 */
    @ApiModelProperty(name = "医保编号")
    private String medicalInsuranceNumber;

    /** 医保类型 */
    @ApiModelProperty(name = "医保类型")
    private String medicalInsuranceType;

    /** 余额 */
    @ApiModelProperty(name = "余额")
    private BigDecimal balance;

    /** 管理部门 */
    @ApiModelProperty(name = "管理部门")
    private String administrativeDepartment;

    /** 创建时间 */
    @JsonFormat(pattern = "yyyy-MM-dd")
    @ApiModelProperty(name = "创建时间")
    private Date creatTime;

    private List<TransactionRecord> transactionRecords;

    public void setId(Long id) 
    {
        this.id = id;
    }

    public Long getId() 
    {
        return id;
    }

    public List<TransactionRecord> getTransactionRecords() {
        return transactionRecords;
    }

    public void setTransactionRecords(List<TransactionRecord> transactionRecords) {
        this.transactionRecords = transactionRecords;
    }

    public void setMedicalInsuranceNumber(String medicalInsuranceNumber)
    {
        this.medicalInsuranceNumber = medicalInsuranceNumber;
    }

    public String getMedicalInsuranceNumber() 
    {
        return medicalInsuranceNumber;
    }

    public void setMedicalInsuranceType(String medicalInsuranceType) 
    {
        this.medicalInsuranceType = medicalInsuranceType;
    }

    public String getMedicalInsuranceType() 
    {
        return medicalInsuranceType;
    }

    public void setBalance(BigDecimal balance)
    {
        this.balance = balance;
    }

    public BigDecimal getBalance()
    {
        return balance;
    }

    public void setAdministrativeDepartment(String administrativeDepartment) 
    {
        this.administrativeDepartment = administrativeDepartment;
    }

    public String getAdministrativeDepartment() 
    {
        return administrativeDepartment;
    }

    public void setCreatTime(Date creatTime) 
    {
        this.creatTime = creatTime;
    }

    public Date getCreatTime() 
    {
        return creatTime;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this,ToStringStyle.MULTI_LINE_STYLE)
            .append("id", getId())
            .append("medicalInsuranceNumber", getMedicalInsuranceNumber())
            .append("medicalInsuranceType", getMedicalInsuranceType())
            .append("balance", getBalance())
            .append("administrativeDepartment", getAdministrativeDepartment())
            .append("creatTime", getCreatTime())
            .append("updateTime", getUpdateTime())
            .toString();
    }
}
